<!--{include common_head}-->
	<div class="bg_tips_lit">
		<div class="login_inp">
			<ul class="login_ul">
				<li class="login_4 clearfix">
					<label></label>
					<form action="/bookedList.php" name="searchformbook">
					<input type="text" name="search_date" onfocus="WdatePicker({lang:'jp'})" class="Wdate" value="{$year}-${sprintf("%02d",$month)}-${sprintf("%02d",$day)}"/>
					<a class="data_icon mr8" href="javascript:;"></a>
					
			       

					<span><a class="preen_btn" href="javascript:;" onclick="document.searchformbook.submit()"/>search</a></span>
					 </form>
				</li>
			</ul>

		</div>
		<div class="preen_list">
			<ul class="clearfix">
				<li><a href="javascript:;">時間</a></li>
				<li><a href="javascript:;">コース名</a></li>
				<li><a href="javascript:;">値段</a></li>
				<li><a href="javascript:;">指名</a></li>
			</ul>
			<!--{loop $bookedList $index $one}-->
			<ul class="clearfix">
			    <li><a href="javascript:;">${date("H:i", $one['service_start_time'])} ～ ${date("H:i", $one['service_end_time'])}</a></li>
			    <li><a href="javascript:;">{$serviceIdList[$one['service_id']]}</a></li>
			    <li><a href="javascript:;">${number_format($one['money'])}円</a></li>
		     	<!--{if $one['designation']==0}-->
		      	<li><a href="javascript:;">指名なし</a></li>
		      	<!--{else}-->
		      	<li><a href="javascript:;">指名</a></li>
		      	<!--{/if}-->
		      	<!--{if ($one['user_id']==$login_user_id)}-->
		      	<!--{if ($one['service_start_time'] > $now)}-->
		      	<li>
					<a href="/bookedList.php?id={$one['id']}&action=del" 
						onclick="return confirm('本当に予約をキャンセルしますか？')"
						style="text-decoration: none;">キャンセル
					</a>
				</li>
		      	<!--{/if}-->
		      	<!--{/if}-->
			</ul>
			<!--{/loop}-->
		</div>
		<div class="preenbtn ml50 clearfix"><a class="preen_btn" href="/search.php"/></a></div>	
	</div>
</div>
</body>
</html>
